]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overviewControls: reset translation as well when entering overview
authorCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 16:57:58 +0000 (11:57 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 18:26:38 +0000 (13:26 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=693974

js/ui/overviewControls.js

index a272843643a7b69e40f1d097158bc09fb2ad6901..37894edc4203fe64c846cf17dd93e4cc4bb80a93 100644 (file)
@@ -157,6 +157,7 @@ const SlidingControl = new Lang.Class({
         // entering the overview
         this.visible = true;
         this.layout.slideX = this.getSlide();
+        this.actor.translation_x = 0;
     },
 
     _onDragBegin: function() {